package com.chendx.store.api.user;

import com.chendx.model.common.dtos.ResponseResult;
import com.chendx.model.user.pojo.Address;

/**
 * Created by chendx on 2022/4/19.
 */
public interface AddressControllerApi {

    public ResponseResult add(Address dto);

    public ResponseResult findById(Integer id);

    public ResponseResult findAll();

    public ResponseResult userAddress();

    public ResponseResult defaultAddress();

    public ResponseResult setDefaultAddress(Integer id);

    public ResponseResult delete(Integer id);
}
